package com.itheima.day03.demo04;

public class Lecturer extends Teacher{//讲师

    public Lecturer() {
    }

    public Lecturer(String name, int id) {
        super(name, id);
    }

    @Override
    public void work() {
        System.out.println("编号"+getId()+"的讲师"+getName()+"正在教葵花宝典");
    }
}
